|
|
|
Bean
Ext8IO
|
External 8-bit Input/Output
Typical usage of the bean in user's code.
|
Typical Usage:
Assume the bean name "EIO11".
(1)
This example demonstrates reading and writing to the port address.
MAIN.C
void main(void)
{
/* Wait until "11111111" is on the port address */
while ( EIO11_GetVal() != 0xFF );
/* Put "10101010" to the port address */
EIO11_PutVal(0xAA);
}
For more about typical usage of the bean code please refer to the page Bean Code Typical Usage.
|
|
|
©1997-2004, UNIS, Ltd.
|
|
|